// Programming_Scala/src/ch01/shapes-actor-script.scala

import shapes._

ShapeDrawingActor.start()

ShapeDrawingActor ! new Circle( new Point( 0.0, 0.0 ), 1.0 )
ShapeDrawingActor ! new Rectangle( new Point( 0.0, 0.0 ), 2, 5 )
ShapeDrawingActor ! new Triangle( new Point( 0.0, 0.0 ), new Point( 1.0, 0.0 ), new Point( 0.0, 1.0 ) )

ShapeDrawingActor ! 3.14159

ShapeDrawingActor ! "exit"


